package com.user.controller;

import com.user.model.vo.MessageVo;
import com.user.param.Result;
import com.user.service.PayService;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

@Api(value = "支付信息接口")
@RestController
@RequestMapping(value = "/pay")
public class PayInfoController {

    @Resource
    PayService payService;

    @ApiOperation(value = "支付信息")
    @RequestMapping(value = "/payInfo",method = RequestMethod.POST)
    public Result payInfo(){
        return payService.payInfo();
    }


}
